﻿using WorkflowCore.Interface;
using WorkflowCore.Models;

namespace B.S.BaseData.Read.Api.Application.CommandHander.Workflow
{
    public class StartStep : StepBody
    {
        /// <summary>
        /// 开始步骤，此步骤一般用于做一些初始化工作
        /// </summary>
        public override ExecutionResult Run(IStepExecutionContext context)
        {
            Console.WriteLine("流程开始");
            return ExecutionResult.Next();
        }
    }
}
